# -*-coding:utf-8 -*-
# File  : deviceOperation_api.py
# Time  ：2021/12/8 10:18
# Author：author name

from api.manage.manage_base import ManageBase


class DeviceOperationApi(ManageBase):
    def __init__(self, status):
        """设备上下线接口"""
        super().__init__()
        self.url = self.host + f"cloudlottery-manage/device/operation?deviceid=223070250f6d40a4a105a7df16e35cb6&status={status}"
        self.method = "put"
